package com.edais.service;

import java.util.Map;
import org.springframework.stereotype.Service;

@Service
public interface JkxyService {

	/**
	 * 余额购买散标 生成借款协议
	 * 
	 * @param type
	 * @param paramsMap
	 * @throws Exception
	 */
	public void setJkxy(String type, Map<String, String> paramsMap)
			throws Exception;

	/**
	 * 激活K码 使用活动码并购买投资 生成借款协议
	 * 
	 * @param type
	 * @param paramsMap
	 * @throws Exception
	 */
	public void setJkxyForK(String type, Map<String, String> paramsMap)
			throws Exception;
	/*
	 * 投资成功推送微信，短信
	 * */
	public void sendMeidaAndSMS(String rescode,String userId,Map<String,String> paramsMap, String finaceId, String buyAmount);
}